package com.easy.project.mapper.system;

import com.easy.project.domain.po.system.SysMenuPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单表 Mapper 接口
 * </p>
 *
 * @author wxz
 * @since 2024-01-10
 */
public interface SysMenuMapper extends BaseMapper<SysMenuPO> {

    List<SysMenuPO> getMenuByRoleId(@Param("roleIdList") List<Long> roleIdList);

    List<SysMenuPO> getMenuListByCode(@Param("sysMenuPO") SysMenuPO sysMenuPO);
}
